package com.tvunetworks.center.device.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program:
 * @description:
 * @author HenryChen
 * @create: 1/6/2020 2:58 PM
 **/
@RequestMapping("base")
@RestController
public class BasicController {

    /**
     *  exception
     */
    @GetMapping("500")
    public void exception(){
        throw new NullPointerException();
    }

}
